@import "./mixin";
@import "./constants";
@media screen and (max-width: 768px) {
  .container {
    .content-wrapper{
      padding-left: 5px;
      padding-right: 5px;
      .top-wrapper{
        &>ul>li{
          width: 49%;
          background-color: paleturquoise;
          height: 100px;
          margin-right:2%;
          &:not(:last-child) {
            padding-right: 5px;
            .mid-wrapper{
              top: 0;
              .mid>span{
                &.icon-cog,&.icon-coffee{
                  font-size: 100px ;
                }
              }
            }
          }
          &:nth-child(2){
            margin-right: 0;
          }
          &:last-child{
            width: 100%;
            margin-top: @content_wrapper_top;
          }
        }
        .type-box{
          display: flex;
          height: 100%;
          &>div{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex: 1;
            text-align: center;
          }
        }
      }
      .search-bar{
        flex-direction: column-reverse;
        align-items:normal;
        .filter-wrapper{
          width: auto;
        }
        .search-wrapper{
          margin-bottom: 10px;
          .input-wrapper{
            width: 100%;
            padding: 0 10px;
            .icon-search{
              left: 20px;
            }
            input{
              width: calc(100% - 35px);
              margin: 10px 0;
            }
          }
          .icon-wrapper{
            display: none;
          }
        }
      }
      .btm-wrapper{
        &>ul>li{
          height: auto;
          padding-left: 10px;
          &.idle{
            border-left: 3px solid @green;
          }
          &.building{
            border-left: 3px solid @orange;
          }
          .btn-content-wrapper{
            .top{
              flex-direction: column;
              .website{
                margin-bottom: 10px;
                .status{
                  display: none;
                }
              }
              .info{
                flex-direction: column;
                &>div{
                  margin-bottom: 10px;
                }
              }
            }
            .btm{
              .list{
                width: 100%;
                .add-item{
                  margin-right: 5px;
                  &>span{
                  }
                }
                .item-list{
                  display: block;
                  .item{
                    float: left;
                    .icon-trash{
                    }
                  }
                }
              }
              .is-deny{
                display: none;
              }
            }
          }
        }
      }
    }
  }
  .slide-bar{
    display: none;
  }

  .layer{
    background-color: rgba(0,0,0,.4);
    .modal-box{
      width: 100%;
    }
    .modal{
      width: 100%;
      border: none;
      .modal-content{
        box-sizing: border-box;
        width: 100%;
        padding-top: 35px;
        .icon-close{
          top: 10px;
        }
        .input{
        }
        .btn-group{
          flex-direction: column;
          &>div{
            flex: 1;
          }
          .add{
            margin-bottom: 10px;
            margin-right: 0;
            &:hover{
            }
          }
          .cancel{
            &:hover{
            }
          }
        }
      }
    }
  }
}
